Hi,
during my first delve into the source to investigate a problem I
was having, I spotted this
static TEXTURE *warpNormalTextureList[MAX_NESTED_TEXTURES];
and later on
if(warpNormalTextures>MAX_NESTED_TEXTURES)
Error("Too many nested textures.");
warpNormalTextureList[warpNormalTextures++] = Texture;
that should be
if(warpNormalTextures>=MAX_NESTED_TEXTURES)
unless I'm very much mistaken.
It occurs in 4 places.
--
Bill Hails
Post a reply to this message
|